package com.buka.recipe.food.service;

import com.buka.recipe.food.entity.Food;
import org.springframework.data.domain.Page;

public interface FoodService {

    void save(Food food);

    void delete(Food food);

    Food getFoodById(Integer id);

    Page<Food> getAll(String title, Integer current, Integer pageSize);

}
